<template>
	<view>
		<input type="text" v-model="title"/>
		<view class="">
			原标题: {{title}}
		</view>
		
		<view class="">
			修改后: {{changeTitle}}
		</view>
		
		<view class="">
			{{demo}}
		</view>
	</view>
</template>

<script>
	export default {
		data(){
			return {
				title: ""
			}
		},
		
		computed: {
			demo() {
				return this.title +　"uni-app"
			},
			changeTitle() {
				return this.title.toLocaleUpperCase()
			}
		}
	}
</script>

<style>
</style>